package jiachunlei.observer.lesson2;

import java.util.Observable;
import java.util.Observer;

/**
 * @author 朝花不迟暮
 * @version 1.0
 * @date 2020/12/6 22:49
 */
public class RealObserver implements Observer
{
    @Override
    public void update(Observable o, Object arg)
    {
        //o.notifyObservers(new RealSubject());
        System.out.println("调用了-->"+arg);
    }
}
